﻿using System;
using System.Collections.Generic;
using System.Text;
using Eleanor.DAL;

namespace Eleanor.BLL
{
    public class PosternTokenBLL
    {
        protected PosternTokenDAL posternTokenDAL = new PosternTokenDAL();
        public int Insert(dynamic posternToken)
        {
            return posternTokenDAL.Insert(posternToken);
        }

        public List<dynamic> GetAll()
        {
            return posternTokenDAL.SelectAll();
        }

        public dynamic Get(int posternTokenId)
        {
            return posternTokenDAL.Select(posternTokenId);
        }

        //public bool Delete(int posternTokenId)
        //{
        //    return posternTokenDAL.Delete(posternTokenId);
        //}
    }
}